<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<html>
<head>
    <script type="text/javascript">
        function doSearch() {
        	grid.load({
                service_no : $('#service_no').val(),
                service_name : $('#service_name').val(),
                ins_cd : $('#ins_cd').val()
            });
        }

        function addInsServiceParam(url){
            commonDetail(url,"save","insServiceParamTableId");
        }
        function modifyInsServiceParam(url) {
            commonDetail(url, "update", "insServiceParamTableId");
        }
		var grid;
        $(document).ready(function() {
        	grid = $("#insServiceParamTableId").jpgrid({
                url: "getInsServiceParamListJson.do",
                baseColumns : false,
                columns: [
                    {title: "所属机构", field: "INS_CD_NAME",width:300},
                    {title: "业务编号", field: "SERVICE_NO_NAME",width:200}
                ]
            });
        });

    </script>
</head>
<body class="easyui-layout list_body">
<form id="insServiceParamForm" name="insServiceParamForm" >
	<div class="list_body_north" data-options="region:'north'" border="false">
	    <!-- 查询表单 -->
	    <div  class="datagrid-toolbar" border="false"  >
	            <span>业务编号:</span>
	            <input id="service_no" type="text" name="service_no"  class="easyui-textbox"  >
	            <span>业务名称:</span>
	            <input id="service_name" type="text" name="service_name"  class="easyui-textbox"  >
	            <span>机构号:</span>
	            <input id="ins_cd" type="text" name="ins_cd"  class="easyui-textbox"  >
	
	            <a href="#" class="easyui-linkbutton btn" iconCls="icon-search" onclick="doSearch() ">查询</a>
	            <a href="#" class="easyui-linkbutton btn" iconCls="icon-reload" onclick="resetForm() ">重置</a>
	    </div>
	    <!-- 自定义标签工具栏 -->
	    <jiepos:buttonOperateTag menuCode="${menuCode}"></jiepos:buttonOperateTag>
    </div>
    <div data-options="region:'center'" border="false" class="list_body_center">
	    <!-- 表格 -->
	    <table id="insServiceParamTableId" fit="true"></table>
    </div>
</form>
</body>
</html>
